package com.oasen.learn.usercenter.service;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.core.userdetails.User;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.security.crypto.password.StandardPasswordEncoder;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.oasen.learn.usercenter.dao.AuthDao;
import com.oasen.learn.usercenter.entity.AuthMeta;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by lsyuan on 2017/7/1.
 */
@Service
public class AuthMetaService {
	@Autowired
    private AuthDao AuthMetaDao;
	
    public List<AuthMeta> findList(AuthMeta authMeta){
    	return AuthMetaDao.findList(authMeta);
    }

	
}
